package com.yituo.mjworld.mvc.form;

import com.yituo.mjworld.core.annotation.Rules;
import com.yituo.mjworld.core.web.core.BaseForm;

/**
 * 请求删除的表单
 */
public class DeleteForm extends BaseForm {
  @Rules(fieldName = "ID", min = "0")
  public int id;

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  @Override
  public boolean validate() {
    return defaultValidate();
  }
}
